<?php
 include "core/mysql.php";
 $img = $_GET['img'];
 $sql="SELECT * FROM news_list WHERE img = '$img';";
 $res = fetchAll($sql);
?>